Benjamin Otte [Thu, 6 Oct 2016 21:39:05 +0000 (23:39 +0200)]
tests: Remove testwindows test
It wasn't drawing anything anymore...
Benjamin Otte [Thu, 6 Oct 2016 20:37:42 +0000 (22:37 +0200)]
API: Remove GtkStyle
All the remaining gtkrc.c stuff like GtkRcStyle goes with it.
Benjamin Otte [Thu, 6 Oct 2016 19:46:27 +0000 (21:46 +0200)]
settings: Pull in the RC parsing code
Benjamin Otte [Thu, 6 Oct 2016 17:59:53 +0000 (19:59 +0200)]
immodules: Move path code out of gtkrc
Benjamin Otte [Thu, 6 Oct 2016 14:41:41 +0000 (16:41 +0200)]
cellrendererspinner: Draw our own spinner
This is the GtkStyle code just moved.
Benjamin Otte [Thu, 6 Oct 2016 14:02:39 +0000 (16:02 +0200)]
API: Remove ability to set visuals on windows
And with it, gtk_widget_get_visual() and gtk_widget_set_visual() are
gone.
We now always use the RGBA visual (if available) and otherwise fall back
to the system visual.
Benjamin Otte [Mon, 3 Oct 2016 19:16:40 +0000 (21:16 +0200)]
API: Remove gtk_drag_dest_set_proxy()
Proxies were only used by GtkSocket.
Benjamin Otte [Mon, 3 Oct 2016 16:30:40 +0000 (18:30 +0200)]
API: Remove GtkPlug, GtkSocket and GtkWin32EmbedWidget
Benjamin Otte [Sun, 2 Oct 2016 01:02:10 +0000 (03:02 +0200)]
API: Remove gdk_window_set_composited()
And the related call gdk_display_supports_composite().
Benjamin Otte [Fri, 30 Sep 2016 17:27:38 +0000 (19:27 +0200)]
screen: Remove unused vfunc
GdkScreenClass.broadcast_client_message was unused, but a bunch of
backends still had functions (not) implementing it.
Benjamin Otte [Fri, 30 Sep 2016 03:14:53 +0000 (05:14 +0200)]
filechooserwidget: Query dpi from CssStyle
Benjamin Otte [Fri, 30 Sep 2016 03:11:19 +0000 (05:11 +0200)]
fontchooserwidget: Query dpi from CssStyle
Benjamin Otte [Fri, 30 Sep 2016 02:58:29 +0000 (04:58 +0200)]
API: screen: Stop storing font options
font options are only ever set by the GtkSettings object and only ever
used inside GTK, so just store them there.
Benjamin Otte [Fri, 30 Sep 2016 00:53:31 +0000 (02:53 +0200)]
API: Remove GDK_WA_CURSOR
The cursor was set using gdk_window_set_cursor() even in
gdk_window_new().
So instead of having yet another flag, just make the users of that flag
call gdk_window_set_cursor() directly after the window was created.
Benjamin Otte [Thu, 29 Sep 2016 20:23:51 +0000 (22:23 +0200)]
API: window: Remove suppport for changing wmclass_name/group
X11 was the only backend to support it and people can just override it
using XSetClassHint() directly.
The docs already advertised the function as "Do not use".
Keep the existing call to XSetClassHint() in place, so that we keep
setting the same values as in GTK3.
Timm Bäder [Tue, 4 Oct 2016 11:05:56 +0000 (13:05 +0200)]
Delete gtkvbox.{c,h}
Timm Bäder [Mon, 3 Oct 2016 17:52:23 +0000 (19:52 +0200)]
Remove GtkHBox
Benjamin Otte [Wed, 28 Sep 2016 15:09:41 +0000 (17:09 +0200)]
API: Remove GtkNumerableIcon
Benjamin Otte [Wed, 28 Sep 2016 14:53:17 +0000 (16:53 +0200)]
API: Remove -gtk_widget_get_root_window()
Benjamin Otte [Wed, 28 Sep 2016 00:52:25 +0000 (02:52 +0200)]
API: screen: Remove gdk_screen_make_display_name()
It's identical to gdk_display_get_name().
Benjamin Otte [Wed, 28 Sep 2016 00:16:53 +0000 (02:16 +0200)]
API: screen: Remove gdk_screen_get_active_window()
... and gdk_screen_get_window_stack().
Those functions were originally added in
5afb4f0f116f0e8a200dd55cc6688a957b4d397c but do not seem to be used as
they are not implemented anywhere but in X.
As GDK is not meant to fulfill window management functionality I'm going
to remove these functions without replacements.
Benjamin Otte [Fri, 9 Sep 2016 14:34:21 +0000 (16:34 +0200)]
API: gdk: Remove gdk_screen_get_number()
It's useless everywhere but in internal X11 code.
Benjamin Otte [Fri, 9 Sep 2016 12:53:18 +0000 (14:53 +0200)]
API: Remove gdk_screen_get_width() and gdk_screen_get_height()
... and gdk_screen_get_width_mm() and gdk_screen_get_height_mm() and
the shortcut counterparts that call these functions on the default
screen.
Modern display servers don't provide an ability to query the size of a
screen or display so we shouldn't allow that either.
Benjamin Otte [Fri, 9 Sep 2016 12:52:06 +0000 (14:52 +0200)]
display: Insist that backends implement the monitor vfuncs
We cannot fallback anymore once we remove the ability to query screen
size, and that's about to happen.
Benjamin Otte [Fri, 9 Sep 2016 12:49:12 +0000 (14:49 +0200)]
gdk: Insist axis.min_value < axis.max_value
Remove fallback code that would substitute screen size otherwise.
Benjamin Otte [Fri, 9 Sep 2016 12:48:33 +0000 (14:48 +0200)]
gdk: Require passing screen size to translate_screen_coord()
Benjamin Otte [Mon, 5 Sep 2016 23:24:13 +0000 (01:24 +0200)]
shooter: Use root window size instead of screen size
Avoids usage deprecated screen size.
Benjamin Otte [Mon, 5 Sep 2016 23:23:41 +0000 (01:23 +0200)]
testgtk: Remove feature unsupported in Wayland
Wayland doesn't allow positioning windows randomly, so don't try.
Benjamin Otte [Mon, 5 Sep 2016 01:09:39 +0000 (03:09 +0200)]
API: window: Remove geometry support
Benjamin Otte [Mon, 5 Sep 2016 01:09:20 +0000 (03:09 +0200)]
API: menu: Remove tearoff support
Benjamin Otte [Sun, 4 Sep 2016 19:53:20 +0000 (21:53 +0200)]
API: gdk: Remove monitor APIs on GdkScreen
Benjamin Otte [Sun, 4 Sep 2016 19:51:09 +0000 (21:51 +0200)]
API: Remove GtkStatusIcon
Benjamin Otte [Wed, 28 Sep 2016 00:51:36 +0000 (02:51 +0200)]
applaunchcontext: Ignore screen name
It's guaranteed to be identical to the display name.
Benjamin Otte [Wed, 28 Sep 2016 00:51:09 +0000 (02:51 +0200)]
inspector: Use display name instead of screen name
This is for future compatibility as they are guaranteed to be identical.
Benjamin Otte [Sun, 4 Sep 2016 19:52:55 +0000 (21:52 +0200)]
wayland: Use GdkMonitor APIs
Benjamin Otte [Sun, 4 Sep 2016 19:52:33 +0000 (21:52 +0200)]
x11: Use GdkMonitor APIs
Benjamin Otte [Sun, 4 Sep 2016 19:52:00 +0000 (21:52 +0200)]
gdk: Use GdkMonitor APIs
... instead of the old ones using GdkScreen
Benjamin Otte [Sun, 4 Sep 2016 19:51:41 +0000 (21:51 +0200)]
inspector: Port to GdkMonitor
Benjamin Otte [Sun, 4 Sep 2016 19:13:41 +0000 (21:13 +0200)]
tests: Port to GdkMonitor
Benjamin Otte [Sat, 3 Sep 2016 16:33:30 +0000 (18:33 +0200)]
display: Don't return NULL in get_primary_monitor()
Nobody ever does a NULL check there so all that causes is crashes. So
we better return a non-primary monitor than NULL.
Fixes gdk-wayland always returning NULL.
Benjamin Otte [Mon, 3 Oct 2016 19:26:20 +0000 (21:26 +0200)]
gdk: Fix docs typo
Benjamin Otte [Sun, 16 Oct 2016 16:07:39 +0000 (18:07 +0200)]
gdk: Get rid of unused variables
Aurimas Černius [Sat, 15 Oct 2016 19:07:36 +0000 (22:07 +0300)]
Updated Lithuanian translation
Matthias Clasen [Fri, 14 Oct 2016 15:15:27 +0000 (11:15 -0400)]
Avoid 0/FALSE confusion
Since this is supposedly exemplary code, lets get it right.
https://bugzilla.gnome.org/show_bug.cgi?id=772683
Alan Jenkins [Fri, 14 Oct 2016 11:16:07 +0000 (12:16 +0100)]
shortcutswindow: working version of set_section_name()
(testing before+after, it actually works now)
https://bugzilla.gnome.org/show_bug.cgi?id=772926
Matthias Clasen [Thu, 13 Oct 2016 19:00:56 +0000 (15:00 -0400)]
Add new gestures to gtk4-demo
Show the new single-finger swipe gestures in the builder
shortcuts example.
Felix Riemann [Thu, 13 Oct 2016 14:36:47 +0000 (16:36 +0200)]
GtkShortcutsShortcut: Support single finger swipe gestures
https://bugzilla.gnome.org/show_bug.cgi?id=772770
Jakub Steiner [Thu, 13 Oct 2016 10:09:55 +0000 (12:09 +0200)]
gestures: provide new artwork
- illustrations for single finger swiping left and right
https://bugzilla.gnome.org/show_bug.cgi?id=772770
Ben Iofel [Wed, 12 Oct 2016 20:13:32 +0000 (16:13 -0400)]
docs: replace gtk3 with gtk4 in man pages
Alan Jenkins [Thu, 13 Oct 2016 08:20:57 +0000 (09:20 +0100)]
scrolledwindow: fix leak of pan_gesture
https://bugzilla.gnome.org/show_bug.cgi?id=772859
Alan Jenkins [Wed, 12 Oct 2016 15:38:13 +0000 (16:38 +0100)]
headerbar: fix leak of label_sizing_box
Since the widget is not added to a container, we have the responsibility
to sink the initial floating reference, and ultimately to unref it.
https://bugzilla.gnome.org/show_bug.cgi?id=772859
Alan Jenkins [Wed, 12 Oct 2016 15:18:47 +0000 (16:18 +0100)]
headerbar: fix leak of separator
https://bugzilla.gnome.org/show_bug.cgi?id=772859
Alan Jenkins [Wed, 12 Oct 2016 17:03:43 +0000 (18:03 +0100)]
headerbar: fix leak of start_box/end_box
gtk_widget_destroy() removes widgets from their container. However
_internal_ widgets must be unref'ed using gtk_widget_unparent() instead.
This is symmetric with the fact that these widgets were ref'ed by direct
call to gtk_widget_set_parent(). It's also the method that was used in
gtk_headerbar_destroy().
https://bugzilla.gnome.org/show_bug.cgi?id=772859
Alan Jenkins [Wed, 12 Oct 2016 15:16:57 +0000 (16:16 +0100)]
shortcutsgroup: fix leak of title
like previous commit, albeit simpler this time
https://bugzilla.gnome.org/show_bug.cgi?id=772859
Alan Jenkins [Wed, 12 Oct 2016 12:33:39 +0000 (13:33 +0100)]
applicationwindow: fix leak of help_overlay
> Due to Gtk+ keeping a reference to the window internally,
> gtk_window_new() does not return a reference to the caller.
> To delete a GtkWindow, call gtk_widget_destroy().
Caller(s) aren't expecting a need to delete help_overlay themselves
once they've installed it. (E.g. see gtk_application_window_added()).
I didn't notice any direct precedents, but there's a parallel in the
current implementation of gtk_container_destroy() which uses
gtk_widget_destroy() on any added widget.
This avoids leaking 100s of kB per window, when I tested nautilus.
https://bugzilla.gnome.org/show_bug.cgi?id=772859
Christian Hergert [Wed, 12 Oct 2016 20:56:57 +0000 (13:56 -0700)]
menusectionbox: add support for "text-direction" attribute
This allows the use of a "text-direction" hint set to one of "none", "rtl",
or "ltr" to enforce the text direction of a "horizontal-buttons"
display-hint.
This is useful when a menu has buttons that map to physical space in the
UI and therefore must match the application widgetry.
https://bugzilla.gnome.org/show_bug.cgi?id=772775
Olivier Fourdan [Thu, 6 Oct 2016 14:49:39 +0000 (16:49 +0200)]
gdkwindow: configure native windows in move_native_children()
ClutterEmbed on Wayland uses a subsurface and relocates it on configure
events, but when placed within a scrolled window, no configure event is
emitted and the ClutterEmbed subsurface remains static.
Emit a configure event for native windows in GdkWindow's internal
move_native_children() so that custom widgets relying on configure
events such as ClutterEmbed can relocate their stuff.
Similarly, when switching to/from normal/maximized/fullscreen states
which change the shadows' size and possibly shows/hides a header bar,
we need to emit a configure event even if the abs_x/abs_y haven't
changed to make sure the subsurface is size appropriately.
https://bugzilla.gnome.org/show_bug.cgi?id=771320
https://bugzilla.gnome.org/show_bug.cgi?id=767713
Piotr Drąg [Wed, 12 Oct 2016 17:49:08 +0000 (19:49 +0200)]
Update Polish translation
Lapo Calamandrei [Wed, 12 Oct 2016 17:30:30 +0000 (19:30 +0200)]
Adwaita: dodge drop active style for window and decoration nodes
to hilight drop target there is a wildcard selector which turns
the border and shadow to green, this clearly shouldn't happen when
the whole window is a drop target.
Tom Tryfonidis [Tue, 11 Oct 2016 11:05:21 +0000 (11:05 +0000)]
Update Greek translation
(cherry picked from commit
e74dc54567e2363e283b7e5dd8e8e0e8d0b1c2aa)
Christian Hergert [Mon, 10 Oct 2016 20:52:50 +0000 (13:52 -0700)]
shortcuts: the accelerator should always be LTR
Even on RTL languages, we want the shortcut to be LTR so that we always
have <control> to the left of the accel keyval.
https://bugzilla.gnome.org/show_bug.cgi?id=772695
djb [Sun, 2 Oct 2016 22:16:46 +0000 (23:16 +0100)]
gtkplacesviewrow: stop busy_spinner from offsetting the other widgets when visible
...by putting it in a stack. The busy_spinner and eject_button are
mutually exclusive, but only the latter was coded to ensure that its
visibility did not cause the rest of the row to reflow. By putting both
widgets in a stack and setting child_visible on that, the row allocates
enough space to show one - or none - at once, avoiding any misalignment.
https://bugzilla.gnome.org/show_bug.cgi?id=772345
https://bugzilla.gnome.org/show_bug.cgi?id=772348
Matthias Clasen [Mon, 10 Oct 2016 18:37:09 +0000 (14:37 -0400)]
Fix the build
Adam Jackson [Mon, 10 Oct 2016 18:12:40 +0000 (14:12 -0400)]
Use eglGetPlatformDisplay{,EXT} if available
Calling eglGetDisplay forces libEGL to guess what kind of pointer you
passed it. Different EGL libraries will do different things here, and in
particular glvnd will do something different than Mesa. Since we do have
an API that allows us to explicitly type the display, use it.
The explicit call to eglGetProcAddress is working around a bug in
libepoxy 1.3, which does not understand the EGL concept of client
extensions. Since it does not, the normal epoxy resolver for
eglGetPlatformDisplayEXT would not find any provider for that entry
point, and crash when you attempted to call it.
Signed-off-by: Adam Jackson <ajax@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=772415
Adam Jackson [Mon, 10 Oct 2016 18:10:38 +0000 (14:10 -0400)]
Fix some EGLDisplay * abuse
EGLDisplays are already opaque pointers, and eglGetDisplay returns an
EGLDisplay not a pointer to one.
Signed-off-by: Adam Jackson <ajax@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=772415
Ask Hjorth Larsen [Sun, 9 Oct 2016 20:05:28 +0000 (22:05 +0200)]
Updated Danish translation
Rūdolfs Mazurs [Sun, 9 Oct 2016 16:32:14 +0000 (19:32 +0300)]
Update Latvian translation
Matthias Clasen [Fri, 7 Oct 2016 18:05:57 +0000 (14:05 -0400)]
Remove autoconf macros from the docs
Matthias Clasen [Fri, 7 Oct 2016 17:26:37 +0000 (13:26 -0400)]
Drop deprecated autoconf macro
AM_PATH_GTK_3_0 is deprecated, use PKG_CHECK_MODULES([GTK], [gtk+-3.0])
instead.
Matthias Clasen [Fri, 7 Oct 2016 15:16:39 +0000 (11:16 -0400)]
Re-add missing files
Matthias Clasen [Fri, 7 Oct 2016 10:19:07 +0000 (06:19 -0400)]
Make docs parallel installable
This addresses gdk and gtk docs.
Matthias Clasen [Fri, 7 Oct 2016 14:11:26 +0000 (10:11 -0400)]
Make the demos build
Matthias Clasen [Wed, 5 Oct 2016 19:38:34 +0000 (15:38 -0400)]
Rename Makefile references from 3.0 to 4.0
This is almost certainly incomplete.
Needs careful scrutiny
Matthias Clasen [Fri, 7 Oct 2016 13:13:59 +0000 (09:13 -0400)]
Switch gettext domain from gtk30 to gtk40
Matthias Clasen [Wed, 5 Oct 2016 19:32:01 +0000 (15:32 -0400)]
Adjust versions in configure.ac
This is almost certainly incomplete or wrong in some places.
Needs careful scrutiny
Matthias Clasen [Wed, 5 Oct 2016 19:28:04 +0000 (15:28 -0400)]
Rename pc files from 3.0 to 4.0
gogo [Thu, 6 Oct 2016 16:16:32 +0000 (16:16 +0000)]
Update Croatian translation
(cherry picked from commit
0a08a199d8c28c28a5496f3657de87d0fff14a3e)
gogo [Thu, 6 Oct 2016 16:08:43 +0000 (16:08 +0000)]
Update Croatian translation
(cherry picked from commit
051fddaa610c91c966e92cff151424e6d2834049)
Matthias Clasen [Wed, 5 Oct 2016 16:20:14 +0000 (12:20 -0400)]
entry: Fix a corner case of overwrite mode
We currently beep when a character is appended at the end in
overwrite mode. That is obviously not right. Patch based on
a patch by Ian MacDonald.
https://bugzilla.gnome.org/show_bug.cgi?id=772389
Lapo Calamandrei [Wed, 5 Oct 2016 11:47:52 +0000 (13:47 +0200)]
Adwaita: render updated assets.
Lapo Calamandrei [Wed, 5 Oct 2016 09:35:47 +0000 (11:35 +0200)]
Adwaita: update assets svg
correct colors for pointy sliders assets.
Piotr Drąg [Mon, 3 Oct 2016 14:45:20 +0000 (16:45 +0200)]
gtk-launch: Move translator comment one line down
So it appears in .po files.
William Hua [Wed, 28 Sep 2016 22:33:24 +0000 (18:33 -0400)]
gtkcombobox: pass trigger event when popping up menu
https://bugzilla.gnome.org/show_bug.cgi?id=771242
Milo Casagrande [Mon, 3 Oct 2016 09:36:15 +0000 (09:36 +0000)]
Updated Italian translation
Milo Casagrande [Mon, 3 Oct 2016 09:30:44 +0000 (09:30 +0000)]
Updated Italian translation
Jiri Grönroos [Sun, 2 Oct 2016 17:57:30 +0000 (17:57 +0000)]
Updated Finnish translation
Matthias Clasen [Fri, 30 Sep 2016 19:29:50 +0000 (15:29 -0400)]
3.22.1
Christoph Reiter [Tue, 27 Sep 2016 09:39:04 +0000 (11:39 +0200)]
widget: Don't print underallocation warnings by default
See similar changes:
https://git.gnome.org/browse/gtk+/commit/?id=
1b15588732f2c4e3c59994a59613d4e5c963e283
https://git.gnome.org/browse/gtk+/commit/?id=
54fdcb3ffac3383432b379f3e16e8cb0086b8101
https://bugzilla.gnome.org/show_bug.cgi?id=770388
Victor Toso [Thu, 29 Sep 2016 16:45:42 +0000 (18:45 +0200)]
icon-theme: Fix leaks on error
13 bytes in 1 blocks are definitely lost in loss record 766 of 16,875
at 0x4C2DB9D: malloc (vg_replace_malloc.c:299)
by 0xA9D0247: vasprintf (in /usr/lib64/libc-2.24.so)
by 0xA2453FC: g_vasprintf (gprintf.c:316)
by 0xA2152F7: g_strdup_vprintf (gstrfuncs.c:514)
by 0xA21539C: g_strdup_printf (gstrfuncs.c:540)
by 0x678F25C: gdk_rgba_to_string (gdkrgba.c:360)
by 0x5FAE00D: rgba_to_string_noalpha (gtkicontheme.c:4322)
by 0x5FAE6F2: gtk_icon_info_load_symbolic_svg (gtkicontheme.c:4492)
by 0x5FAED4F: gtk_icon_info_load_symbolic_internal (gtkicontheme.c:4622)
by 0x5FAEEE8: gtk_icon_info_load_symbolic (gtkicontheme.c:4711)
by 0x5F00246: gtk_css_image_recolor_load (gtkcssimagerecolor.c:118)
by 0x5F003E4: gtk_css_image_recolor_compute (gtkcssimagerecolor.c:170)
14 bytes in 1 blocks are definitely lost in loss record 801 of 16,875
at 0x4C2DB9D: malloc (vg_replace_malloc.c:299)
by 0xA9D0247: vasprintf (in /usr/lib64/libc-2.24.so)
by 0xA2453FC: g_vasprintf (gprintf.c:316)
by 0xA2152F7: g_strdup_vprintf (gstrfuncs.c:514)
by 0xA21539C: g_strdup_printf (gstrfuncs.c:540)
by 0x678F25C: gdk_rgba_to_string (gdkrgba.c:360)
by 0x5FAE00D: rgba_to_string_noalpha (gtkicontheme.c:4322)
by 0x5FAE68E: gtk_icon_info_load_symbolic_svg (gtkicontheme.c:4482)
by 0x5FAED4F: gtk_icon_info_load_symbolic_internal (gtkicontheme.c:4622)
by 0x5FAEEE8: gtk_icon_info_load_symbolic (gtkicontheme.c:4711)
by 0x5F00246: gtk_css_image_recolor_load (gtkcssimagerecolor.c:118)
by 0x5F003E4: gtk_css_image_recolor_compute (gtkcssimagerecolor.c:170)
15 bytes in 1 blocks are definitely lost in loss record 838 of 16,875
at 0x4C2DB9D: malloc (vg_replace_malloc.c:299)
by 0xA9D0247: vasprintf (in /usr/lib64/libc-2.24.so)
by 0xA2453FC: g_vasprintf (gprintf.c:316)
by 0xA2152F7: g_strdup_vprintf (gstrfuncs.c:514)
by 0xA21539C: g_strdup_printf (gstrfuncs.c:540)
by 0x678F25C: gdk_rgba_to_string (gdkrgba.c:360)
by 0x5FAE00D: rgba_to_string_noalpha (gtkicontheme.c:4322)
by 0x5FAE6C3: gtk_icon_info_load_symbolic_svg (gtkicontheme.c:4487)
by 0x5FAED4F: gtk_icon_info_load_symbolic_internal (gtkicontheme.c:4622)
by 0x5FAEEE8: gtk_icon_info_load_symbolic (gtkicontheme.c:4711)
by 0x5F00246: gtk_css_image_recolor_load (gtkcssimagerecolor.c:118)
by 0x5F003E4: gtk_css_image_recolor_compute (gtkcssimagerecolor.c:170)
16,384 bytes in 1 blocks are definitely lost in loss record 16,847 of 16,875
at 0x4C2DADE: malloc (vg_replace_malloc.c:298)
by 0x4C2FC91: realloc (vg_replace_malloc.c:785)
by 0xA1F89FA: g_realloc (gmem.c:159)
by 0xA1BAD2E: g_array_maybe_expand (garray.c:779)
by 0xA1BA566: g_array_set_size (garray.c:555)
by 0xA1BBCB8: g_byte_array_set_size (garray.c:1752)
by 0x8D1CC48: g_file_load_contents (gfile.c:6766)
by 0x5FAE767: gtk_icon_info_load_symbolic_svg (gtkicontheme.c:4501)
by 0x5FAED4F: gtk_icon_info_load_symbolic_internal (gtkicontheme.c:4622)
by 0x5FAEEE8: gtk_icon_info_load_symbolic (gtkicontheme.c:4711)
by 0x5F00246: gtk_css_image_recolor_load (gtkcssimagerecolor.c:118)
by 0x5F003E4: gtk_css_image_recolor_compute (gtkcssimagerecolor.c:170)
https://bugzilla.gnome.org/show_bug.cgi?id=772215
Dušan Kazik [Fri, 30 Sep 2016 16:46:41 +0000 (16:46 +0000)]
Updated Slovak translation
Jonas Ådahl [Fri, 16 Sep 2016 07:42:37 +0000 (15:42 +0800)]
wayland: Only 'moved-to-rect' if move_to_rect() was used
Don't emit the 'moved-to-rect' signal if move_to_rect() was used.
https://bugzilla.gnome.org/show_bug.cgi?id=771516
Richard Hughes [Wed, 28 Sep 2016 13:14:02 +0000 (14:14 +0100)]
Add GDK_AVAILABLE_IN_3_90
Carlos Garnacho [Wed, 28 Sep 2016 17:56:49 +0000 (19:56 +0200)]
popover: Update scrollable on relative-to hierarchy changes
The relative-to widget may be reparented itself into/out of a
scrollable. In this cases make the hierachy-changed handler to
unset the parent scrollable when unparented, and look up again
the parent scrollable after it's reparented.
https://bugzilla.gnome.org/show_bug.cgi?id=771812
Carlos Garnacho [Wed, 28 Sep 2016 17:53:10 +0000 (19:53 +0200)]
popover: Add helper functions around setting up an scrollable
gtk_popover_set_scrollable_full() takes care of the signal connected
on the scrollable itself, in addition to the adjustment signals the
popover listens to.
gtk_popover_update_scrollable() looks up the current relative-to
widget hierarchy and updates the current scrollable.
The places where the scrollable is being maintained have been updated
to use these functions.
https://bugzilla.gnome.org/show_bug.cgi?id=771812
Christian Hergert [Wed, 28 Sep 2016 19:37:41 +0000 (12:37 -0700)]
scrolledwindow: handle NULL cursor safely
It's possible to get a NULL cursor back if there are improperly
configured or missing cursors on the system.
Gustavo Noronha Silva [Mon, 26 Sep 2016 08:56:42 +0000 (10:56 +0200)]
wayland: always sync state after a frame is painted
Opaque region, margin and input region were only being synced when a cairo
paint happened. That caused GL paints to sometimes end up with bad state.
Move calls to sync state to gdk_window_impl_wayland_end_paint.
https://bugzilla.gnome.org/show_bug.cgi?id=771553
Olivier Fourdan [Tue, 27 Sep 2016 14:48:57 +0000 (16:48 +0200)]
wayland: Avoid negative size constraints
Setting the shadow width earlier as done with commit
4cb1b96 to address
bug 771561 proved to cause unexpected side effects on size_allocate
signal propagation.
As the window is sized correctly earlier, the size_allocate signal is
not emitted again in gtk_widget_size_allocate_with_baseline() which
prevents clutter-gtk from relocating its child widget correctly.
To avoid this issue, revert commit
4cb1b96 but make sure the values
passed as min and max size is never negative in Wayland as this is a
protocol error.
With this, the min/max size will be wrong for a short amount of time,
during the state transition, until the shadow width is updated from
gdk_window_set_shadow_width().
This approach is much safer and less intrusive than changing the
size_allocate logic in gtk.
This reverts commit
4cb1b9645e84054c059f174240e8e288c4befe05.
Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=771915
Christian Hergert [Tue, 27 Sep 2016 21:12:43 +0000 (14:12 -0700)]
entry: handle NULL cursor when updating cursors
If we got a NULL cursor from gdk_cursor_new_from_name(), we need
to handle that when unreffing.
Christian Hergert [Tue, 27 Sep 2016 21:09:02 +0000 (14:09 -0700)]
entry: handle NULL cursor when releasing reference
If we happen to have gotten NULL back for a cursor, then we
need to check before unreffing it.
Christian Hergert [Tue, 27 Sep 2016 19:41:55 +0000 (12:41 -0700)]
treeviewcolumn: use g_clear_object when freeing cursor
There is the chance that the cursor returned NULL on systems
with missing cursors. This defensively handles that by checking
for a NULL cursor.